export const mutations = {
  isLoading (state, info) {
    state.isLoading = info
  },
  routerAni (state, info) {
    state.routerAni = info
  },
  userInfo (state, info) {
    state.userInfo = info
    sessionStorage.setItem('userInfo', JSON.stringify(info))
  },
  base64 (state, info) {
    state.base64 = info
    sessionStorage.setItem('base64', info)
  },
  cropperBase64 (state, info) {
    state.cropperBase64 = info
    sessionStorage.setItem('cropperBase64', info)
  },
  styleBase64 (state, info) {
    state.styleBase64 = info
    sessionStorage.setItem('styleBase64', info)
  },
  screenObj (state, info) {
    state.screenObj = info
    sessionStorage.setItem('screenObj', JSON.stringify(info))
  },
  face (state, info) {
    state.face = info
    sessionStorage.setItem('face', JSON.stringify(info))
  }
}
